ctrlnames=$(nvme list-subsys | grep -E "tcp" | awk '{ print $2 }')
for ctrl in ${ctrlnames[@]}
do
    nvme disconnect -d ${ctrl}
done

modprobe -r nvme
modprobe -r nvme-tcp
modprobe -r nvme-core
